//平移组件
import Translation from "@/views/admin/Translation.vue";
export default [
  {
    path: "/admin",
    redirect: "/admin/dashboard",
    component: () => import("@/layouts/admin/index.vue"),
    children: [
      {
        name: "admin.dashboard",
        path: "dashboard",
        component: () => import("@/views/admin/dashboard/index.vue"),
        meta: {
          title: "工作台",
          menu: { title: "工作台", icon: "DashboardOutlined", order: 1000 },
        },
        children: [],
      },
      {
        name: "system.setting",
        path: "setting",
        component: () => import("@/views/admin/system/setting.vue"),
        meta: {
          title: "系统设置",
          menu: { title: "系统设置", icon: "DashboardOutlined", order: 1000 },
        },
        children: [],
      },
      {
        name: "combine.index",
        path: "combine",
        component: () => import("@/views/admin/combine/index.vue"),
        meta: {
          title: "组合管理",
          menu: { title: "组合管理", icon: "DashboardOutlined", order: 1000 },
        },
        children: [],
      },
      {
        name: "message.index",
        path: "message",
        component: () => import("@/views/admin/message/index.vue"),
        meta: {
          title: "消息模板",
          menu: { title: "消息模板", icon: "DashboardOutlined", order: 1000 },
        },
        children: [],
      },
    ],
  },
] as RouteRecordRaw[];
